package com.spancer.contentcenter.feignclient;

import com.spancer.contentcenter.domain.dto.user.UserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * author by: mars
 * Date: 2020/8/20 12:11
 * Description: 测试feign
 */
@FeignClient(name = "user-center")
public interface TestUserCenterFeignClient {

    // get 多参数请求
    @GetMapping("/query")
    UserDTO query(@SpringQueryMap UserDTO userDTO);

}
